package com.ruoyi.edit.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 活动课内容对象 tc_course_content
 * 
 * @author qiufeng
 * @date 2022-03-19
 */
public class CourseContent extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private String id;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date created;

    /** 是否删除 0：否，1是 */
    @Excel(name = "是否删除 0：否，1是")
    private Integer deleted;

    /** 内容 */
    @Excel(name = "内容")
    private String content;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 厂商ID */
    @Excel(name = "厂商ID")
    private String vendorId;

    /** 课程包ID */
    @Excel(name = "课程包ID")
    private String vendorPackageId;

    /** 课程ID */
    @Excel(name = "课程ID")
    private String courseId;

    @Excel(name = " 类型：视频video,音频radio,图片image,文本txt ")
    private String type;

    @Excel(name = "显示顺序")
    private Integer orderNum;

    @Excel(name = "时长（分钟）")
    private String durations;

    @Excel(name = "父级")
    private String parentId;

    @Excel(name = "开始时间")
    private String beginAt;


    @Excel(name = "结束时间")
    private String endAt;

    @Excel(name = "封面")
    private String cover;

    @Excel(name = "教具")
    private String  tools;

    @Excel(name = " 子集类型：0无子集，1子集列表，2附件列表")
    private Integer parentType;

    @Excel(name = "菜单样式：0默认，1圆形样式，2时间样式")
    private Integer menuStyle;

    @Excel(name = "创建人")
    private String createdBy;

    @Excel(name = "创建人名称")
    private String createdName;

    @Excel(name = "课程详情")
    private String  details;

    @Excel(name = "课程详情类型，0详情，1教保指引")
    private Integer detailsType;

    @Excel(name = "种类类型")
    private Integer categoryType;


    public Integer getCategoryType() {
        return categoryType;
    }

    public void setCategoryType(Integer categoryType) {
        this.categoryType = categoryType;
    }

    public Integer getDetailsType() {
        return detailsType;
    }

    public void setDetailsType(Integer detailsType) {
        this.detailsType = detailsType;
    }

    public String getDetails() {
        return details;
    }

    public void setDetails(String details) {
        this.details = details;
    }

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setCreated(Date created) 
    {
        this.created = created;
    }

    public Date getCreated() 
    {
        return created;
    }
    public void setDeleted(Integer deleted) 
    {
        this.deleted = deleted;
    }

    public Integer getDeleted() 
    {
        return deleted;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setVendorId(String vendorId) 
    {
        this.vendorId = vendorId;
    }

    public String getVendorId() 
    {
        return vendorId;
    }
    public void setVendorPackageId(String vendorPackageId) 
    {
        this.vendorPackageId = vendorPackageId;
    }

    public String getVendorPackageId() 
    {
        return vendorPackageId;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getCourseId() {
        return courseId;
    }

    public void setCourseId(String courseId) {
        this.courseId = courseId;
    }

    public Integer getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(Integer orderNum) {
        this.orderNum = orderNum;
    }

    public String getDurations() {
        return durations;
    }

    public void setDurations(String durations) {
        this.durations = durations;
    }


    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }


    public String getBeginAt() {
        return beginAt;
    }

    public void setBeginAt(String beginAt) {
        this.beginAt = beginAt;
    }

    public String getEndAt() {
        return endAt;
    }

    public void setEndAt(String endAt) {
        this.endAt = endAt;
    }

    public String getCover() {
        return cover;
    }

    public void setCover(String cover) {
        this.cover = cover;
    }


    public String getTools() {
        return tools;
    }

    public void setTools(String tools) {
        this.tools = tools;
    }

    public Integer getParentType() {
        return parentType;
    }

    public void setParentType(Integer parentType) {
        this.parentType = parentType;
    }

    public Integer getMenuStyle() {
        return menuStyle;
    }

    public void setMenuStyle(Integer menuStyle) {
        this.menuStyle = menuStyle;
    }

    public String getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy;
    }

    public String getCreatedName() {
        return createdName;
    }

    public void setCreatedName(String createdName) {
        this.createdName = createdName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("created", getCreated())
            .append("deleted", getDeleted())
            .append("content", getContent())
            .append("title", getTitle())
            .append("vendorId", getVendorId())
            .append("vendorPackageId", getVendorPackageId())
            .toString();
    }
}
